.nav2{
  width: 100%;
  height: 38px;
  background: #4CAF50;
}
.nav2 ul{
  display: flex;
  width: 1000px;
  margin: 0 auto;
}
.nav2 li{
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 38px;
  font-weight: bold;
  padding: 0 24px;
}
.nav2 li a{
  color: #FFFFFF;
}
.nav2 li a:hover{
  background: #3a750a;
}
.nav2 li:nth-child(1){
  background: #3a750a;
}

